import {Component} from '@angular/core';
import {ROUTER_DIRECTIVES, ROUTER_PROVIDERS } from '@angular/router';
import {AboutComponent, ContactComponent, HomeComponent} from './models';
	
@RouteConfig({

})

@Component({
	selector:'route-demo',
	directives:[ROUTER_DIRECTIVES],
	template:`
	<div>
		<nav>
			<a>Navigation</a>
			<ul>
				<li><a  [routerLink]="['/Home']">Home</a></li>
				<li><a [routerLink]="['/About']">About</a></li>
				<li><a [routerLink]="['/Contact']">Contact us</a></li>
			</ul>
		</nav>
		<router-outlet></router-outlet>
	</div>
	`
})
